import wechat from './miniProgram'

const provider = 'wechat'
// 使用厂商独占sdk name = 'wechat' | 'alipay' | 'apple'
const useProvider = (_provider = '') => {
  if (_provider === '') _provider = provider
  if (_provider === 'wechat') return wechat
}

export default useProvider
